%h1 Edit Page

-semantic_form_for [:admin,@page] do |form|
  =form.error_messages
  -form.inputs do
    =form.input :breadcrumb, :hint=>"This is what will be shown in menus", :input_html => { :size => 20 }
    =form.input :title, :hint=>"This is the title for the page", :input_html => { :size => 40 }
    =form.input :is_home, :hint=>"Is this the Home page"
    =form.input :is_featured, :hint=>"Is this a featured page"
    =form.input :permalink, :hint=>""
    =form.input :content, :hint=>"This is the content" , :input_html => { :rows => 15, :cols=>80 }
  
  -form.buttons do
    =form.commit_button :label=>"Update Page now"
    
        
%p= link_to "Cancel", [:admin,@page]
